From: Jan D. Date: Mon, 16 Aug 2010 07:52:32 +0000 (+0200) Subject: Don't define QPRIMARY twice. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~6949 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=48f95c877ecfdc6ab08a3e01236325352c90e493;p=emacs.git Don't define QPRIMARY twice. * keyboard.h (QPRIMARY): Declare (Bug#6864). * xselect.c: Remove declaration of QPRIMARY (Bug#6864). --- diff --git a/src/ChangeLog b/src/ChangeLog index 7edbeed8a89..ee9c047c04c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2010-08-16 Jan Djärv + + * xselect.c: Remove declaration of QPRIMARY (Bug#6864). + + * keyboard.h (QPRIMARY): Declare (Bug#6864). + 2010-08-16 Chong Yidong * keyboard.c (command_loop_1): Avoid setting selection twice, diff --git a/src/keyboard.h b/src/keyboard.h index 4eb0b654703..a3bb46f4454 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -440,6 +440,9 @@ extern int ignore_mouse_drag_p; extern Lisp_Object Vdouble_click_time; +/* The primary selection. */ +extern Lisp_Object QPRIMARY; + /* Forward declaration for prototypes. */ struct input_event; diff --git a/src/xselect.c b/src/xselect.c index b4b2ab22d6c..21684c83088 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -107,7 +107,7 @@ static void initialize_cut_buffers (Display *, Window); #define CUT_BUFFER_SUPPORT -Lisp_Object QPRIMARY, QSECONDARY, QSTRING, QINTEGER, QCLIPBOARD, QTIMESTAMP, +Lisp_Object QSECONDARY, QSTRING, QINTEGER, QCLIPBOARD, QTIMESTAMP, QTEXT, QDELETE, QMULTIPLE, QINCR, QEMACS_TMP, QTARGETS, QATOM, QNULL, QATOM_PAIR;